﻿<%@ Page Title="" Language="C#" MasterPageFile="~/kcadastro.Master" AutoEventWireup="true" CodeBehind="BillRelat.aspx.cs" Inherits="Kcadastro.os.BillRelat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../css/os.css" rel="stylesheet" type="text/css" />
    <link href="../css/grid1.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="formulario">
<h2>Extrato Mensal</h2>
    <asp:HyperLink ID="HyperLink1" CssClass="lkv" NavigateUrl="osEdit.aspx" runat="server">Criar Nova OS</asp:HyperLink>
<br />
 Ano: 
    <asp:DropDownList ID="dd_anos" runat="server">
    </asp:DropDownList>
    Mês: 
    <asp:DropDownList ID="dd_mes" runat="server">
        <asp:ListItem Text="Jan" Value="1"></asp:ListItem>
        <asp:ListItem Text="Fev" Value="2"></asp:ListItem>
        <asp:ListItem Text="Mar" Value="3"></asp:ListItem>
        <asp:ListItem Text="Abr" Value="4"></asp:ListItem>
        <asp:ListItem Text="Mai" Value="5"></asp:ListItem>
        <asp:ListItem Text="Jun" Value="6"></asp:ListItem>
        <asp:ListItem Text="Jul" Value="7"></asp:ListItem>
        <asp:ListItem Text="Ago" Value="8"></asp:ListItem>
        <asp:ListItem Text="Set" Value="9"></asp:ListItem>
        <asp:ListItem Text="Out" Value="10"></asp:ListItem>
        <asp:ListItem Text="Nov" Value="11"></asp:ListItem>
        <asp:ListItem Text="Dez" Value="12"></asp:ListItem>
    </asp:DropDownList><br />
    <asp:Button ID="bt_carregar" runat="server" Text="Carregar" 
        CssClass="botaoformulario2" onclick="bt_carregar_Click" />
<br />
<asp:GridView ID="gv_lista" 
        DataKeyNames="PK_IDos" runat="server" 
        AutoGenerateColumns="false" 
        AllowPaging="false" 
        CssClass="mGrid"
        AlternatingRowStyle-CssClass="alt"
        >
        <Columns>
        <asp:BoundField DataField="PK_IDos" HeaderText="OS º" />
        <asp:BoundField DataField="dt_reg" DataFormatString="{0:dd/MM/yyyy}"  HeaderText="Abertura" />
        <asp:BoundField DataField="nomeOS" HeaderText="Nome"  />
        <asp:BoundField DataField="qtd_registros" HeaderText="QTD Regs."  />
        <asp:BoundField DataField="qtdprocessados" HeaderText="QTD Procs."  />
        
        </Columns>
    </asp:GridView><br />
    Total de consultas unitárias no período = 
    <asp:Literal ID="lt_cunistt" runat="server"></asp:Literal><br />
    Total de processamentos no período = 
    <asp:Literal ID="lt_ttproc" runat="server"></asp:Literal>

</div>
</asp:Content>
